﻿using System.Threading.Tasks;

namespace Mt.Site.Application.Navigation
{
    public  interface IMenuCleanAppService : IBackEndAppService
    {
        Task<int> CleanMenus();
        Task<int> CleanMenusByHost();

        Task ResetCode();

        Task ResetCodeByHost();


        /// <summary>
        /// 重置栏目缓存
        /// </summary>
        Task ResetMenuCache();

        Task ResetMenuCacheByHost();

        /// <summary>
        /// 重置路由缓存
        /// </summary>
        Task ResetCustomRouteCache();

        int CleanRouter();
    }
}
